import React, { Component } from 'react'

import Routerview from '../router/Routerview'
import RouterLink from '../router/RouterLink'
export class Home extends Component {
  render() {
    const {routerConfig}=this.props
    return (
      <div className='home'>
          <div className='head'>
             头部
          </div>
          <div className='body'>
              <div className="left">
                  <RouterLink></RouterLink>
                  
                左侧路由
              </div>
              <div className="right">
                  <Routerview routerConfig={routerConfig}></Routerview>
                  2级路由切换去
              </div>
          </div>
          

      </div>
    )
  }
}

export default Home